import { request } from '@/plugins/request'


export const login = data =>
request({
    url: `/api/users/login`,
    method: 'post',
    data
  })

export const registr = data =>
request({
    url: `/api/users`,
    method: 'post',
    data
  })

  